// 导入二次封装axios
import koi from "@/utils/axios.ts";

export const listPage = (params: any) => koi.get("/admin/pms/goods-brand/list", params);
export const read = (id: any) => koi.get("/admin/pms/goods-brand/read", { id });
export const getAll = () => koi.get("/admin/pms/goods-brand/getAll");
export const update = (data: any) => koi.post("/admin/pms/goods-brand/update", data);
export const changeStatus = (id: any, status: any) => koi.post("/admin/pms/goods-brand/changeStatus", { id, status });
export const add = (data: any) => koi.post("/admin/pms/goods-brand/add", data);
export const getBrand = (data?: any) => koi.post("/admin/pms/goods-brand/getBrand", data);
